qui {
	
use comb, clear

keep if diffRule

label define garp_violations 1 "No violations" 2 "Mild violations (CCEI > 0.85)" 3 "Severe violations (CCEI < 0.85)"

gen garp_violations = 0
replace garp_violations = 1 if !flagp2
replace garp_violations = 2 if Afriatp2 >= 0.85 & flagp2
replace garp_violations = 3 if Afriatp2 < 0.85 & flagp2

label values garp_violations garp_violations
	}

/* Column 1 of Table 5 */
tab garp_violations

/* Columns 2 and 3 of Table 5 */
by garp_violations, sort: tab daOrRule
